﻿<Window x:Class="DocumentManagement.Views.ShowItemFileOut"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:vm="clr-namespace:DocumentManagement.ViewsModels"
        Title="ShowItemFileOut" Height="278" Width="531">
    <Window.Resources>
        <vm:ShowItemFileOutViewsModel x:Key="showItemFileOutViewsModel"/>
        
    </Window.Resources>

    <Grid DataContext="{Binding Source={StaticResource showItemFileOutViewsModel}}">
        <DataGrid AutoGenerateColumns="False" FontFamily="Tahoma" FontSize="14" Height="178" HorizontalAlignment="Left" IsReadOnly="True" Margin="10,47,0,0" Name="dataGrid1" VerticalAlignment="Top" Width="485" FontWeight="Normal">
            <DataGrid.Columns>
                <!--<DataGridTextColumn Binding="{Binding Path=ScanSendAttachedID, Mode=TwoWay}" Header="รหัสไฟล์" />-->
                <DataGridHyperlinkColumn Binding="{Binding Path=FileName, Mode=TwoWay}" Header="ชื่อไฟล์">
                    <DataGridHyperlinkColumn.ElementStyle>
                        <Style>
                            <EventSetter Event="Hyperlink.Click" Handler="DG_Hyperlink_Click" />
                        </Style>
                    </DataGridHyperlinkColumn.ElementStyle>
                </DataGridHyperlinkColumn>
            </DataGrid.Columns>
        </DataGrid>
        <TextBlock FontFamily="Tahoma" FontSize="16" Height="23" HorizontalAlignment="Left" Margin="178,12,0,0" Name="textBlock1" Text="รายการไฟล์หนังสือออก" VerticalAlignment="Top" FontWeight="Bold" />
    </Grid>
</Window>
